﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta charset="utf-8">
    <title>homePage</title>
    
    <!-- WinJS references -->
    <link href="//Microsoft.WinJS.0.6/css/ui-dark.css" rel="stylesheet">
    <script src="//Microsoft.WinJS.0.6/js/base.js"></script>
    <script src="//Microsoft.WinJS.0.6/js/ui.js"></script>
    
    <link href="/css/default.css" rel="stylesheet">
    <link href="/css/homePage.css" rel="stylesheet">
    <script src="/js/homePage.js"></script>
	<script type="text/javascript">WinJS.UI.processAll();</script>
</head>
<body>
    <!-- The content that will be loaded and displayed. -->
    <div class="fragment homepage">
        <header aria-label="Header content" role="banner">
            <button class="win-backbutton" aria-label="Back" disabled></button>
            <h1 class="titlearea win-type-ellipsis">
                <span class="pagetitle">Metronome</span>
            </h1>
        </header>
        <section aria-label="Main content" role="main" class="">
        	<div id="metronome">
                <audio src="/media/ticktack.wav" msAudioCategory="SoundEffects" style="display: none;"></audio>
        		<div id="bar">
        			<div id="weight" draggable="true" style="height: 100px; width: 100px; position: relative; background-color: #439C30; left: -40px;"></div></div></div>
        </section>
    	<section class="sub">
    		<div id="bpm" data-win-bind="innerHTML: bpm" style="text-align: center;"></div>
    		<div id="tempo" data-win-bind="innerHTML: mark" style="font-style: italic; text-align: center;"></div>
    	</section>
    </div>
	<div id="appbar" data-win-control="WinJS.UI.AppBar">
		<button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{icon:'play', id:'start', label:'スタート', section:'global'}"></button>
        <button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{icon:'pause', id:'stop', label:'ストップ', section:'global'}"></button>
	</div>
</body>
</html>
